//
//  InspirationSonCollectionViewCell.m
//  PerfectWorld
//
//  Created by dllo on 16/9/20.
//  Copyright © 2016年 LST. All rights reserved.
//

#import "InspirationSonCollectionViewCell.h"
#import "UIImageView+WebCache.h"
#import "IdeaPhotos.h"
@implementation InspirationSonCollectionViewCell

- (void)setPhotos:(IdeaPhotos *)photos {
    _photos = photos;
    NSNumber *num = photos.Photos_id;
    NSString *str = [num description];
    NSString *str2 = [str substringToIndex:3];
    [_imageMain sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://image.gooju.cn/images/%@/9/%@_0_9-.jpg", str2, str]] placeholderImage:nil];
   
}


- (void)awakeFromNib {
    [super awakeFromNib];
    [self layoutIfNeeded];
    // Initialization code
}

@end
